//保存一下选中好的地址

const addressModules = {
    //开启命名空间
    namespaced: true,
    state: {
        address:[],
    },
    getters: {
        getAddress(state){
            return state.address
        }
    },
    mutations: {
        addAddress(state, payload){
            state.address.push({...payload})
        }
    },
    actions: {

    }
}

export default addressModules